package com.yy.web.pm.billboard.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.yy.web.pm.billboard.domain.BillboardRepair;
import com.yy.web.pm.billboard.mapper.BillboardRepairMapper;
import com.yy.web.pm.billboard.service.BillboardRepairService;
@Service
public class BillboardRepairServiceImpl implements BillboardRepairService{

    @Resource
    private BillboardRepairMapper billboardRepairMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return billboardRepairMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BillboardRepair record) {
        return billboardRepairMapper.insert(record);
    }

    @Override
    public int insertSelective(BillboardRepair record) {
        return billboardRepairMapper.insertSelective(record);
    }

    @Override
    public BillboardRepair selectByPrimaryKey(Integer id) {
        return billboardRepairMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BillboardRepair record) {
        return billboardRepairMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BillboardRepair record) {
        return billboardRepairMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<BillboardRepair> list) {
        return billboardRepairMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<BillboardRepair> list) {
        return billboardRepairMapper.batchInsert(list);
    }

}
